<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>人才来了-求职记录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="__ROOT__/weixin_statics/css/reset.css">
    <link rel="stylesheet" href="__ROOT__/weixin_statics/css/style.css">
    <link rel="stylesheet" href="__ROOT__/weixin_statics/css/date.css">
    <script src="__ROOT__/weixin_statics/js/jquery-1.7.2.min.js" type="text/javascript"></script>

    <script src="__ROOT__/weixin_statics/js/jquery.date_input.pack.js"></script>
    <script language="javascript">

        $(document).ready(function(){
            $( "#date" ).date_input();
             $("#ms").bind("click",function(){
                var val = $(this).attr('value');
                 $("#msbox").show();
                  $("#msbox .ok").attr('value',val);
             });
            $("#msbox .close-prev,#msbox .concell").bind("click",function(){
                $("#msbox").hide();
                location.replace(location.href); 
            });
            $("#msbox .ok").bind("click",function(){
                 var val = $(this).attr('value');
                 $.post("__URL__/is_go", { "id": val,'is':1},
                       function(data){
                        if (data.status==1) {
                            $("#msbox").hide();
                            location.replace(location.href); 
                           }
                       }, "json");
                
            });


            $("#lyms").bind("click",function(){
                $("#lymsbox").show();
            });
            $("#lymsbox .close-prev").bind("click",function(){
                $("#lymsbox").hide();
            });
            $("#lymsbox .ok").bind("click",function(){

                if($("#date").val()=="")
                {
                    $("#date").addClass("red");
                    return;
                }
                $("#lymsbox").hide();
            });
            $("#lymsbox .ok").bind("focus",function(){

                    $("#date").removeClass("red");

            });



            $("#bms").bind("click",function(){
                var val = $(this).attr('value');
                $("#bmsbox .ok").attr('value',val);
                $("#bmsbox").show();
            });
            $("#bmsbox .close-prev,#bmsbox .concell").bind("click",function(){
                $("#bmsbox").hide();
                location.replace(location.href); 
            });
            $("#bmsbox .ok").bind("click",function(){
                 var val = $(this).attr('value');
                 $.post("__URL__/is_go", { "id": val,'is':2},
                       function(data){
                        if (data.status==1) {
                            $("#bmsbox").hide();
                            location.replace(location.href); 
                           }
                       }, "json");
                
            });

        });
    </script>
</head>

<body>
<!--去面试box-->
<div class="ms-box" style="display:none;" id="msbox">
	<i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i>
    <div class="ms-b1">
    	<h2>温馨提示：</h2>
        1、既然选择去面试，就尽量准时去参加面试；<br /><br />
        2、如有意外不能参加面试，请及时与企业打声招呼；<br /><br />
        3、祝您面试成功！<br />
    </div>
          <h3><a href="javascript:" class="page-btn ok" value="">确定</a></h3>
          <h3><a href="javascript:" class="page-btn pink concell">取消</a></h3>
</div>
<!--另约时间box-->
<div class="ms-box" style="display:none;" id="lymsbox">
	<i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i>
    <div class="ms-b1">
    	<h2>温馨提示：</h2>
        请电话联系人事更改面试时间！<br />
    </div>
          <h3><a href="javascript:" class="page-btn ok">确定</a></h3>
</div>
<!--不去面试box-->
<div class="ms-box" style="display:none;" id="bmsbox">
	<i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i>
    <div class="ms-b1">
    	<h2 class="btitle">您确定不去参加面试吗？</h2>
    </div>
         <h3><a href="javascript:" class="page-btn ok">确定</a></h3>
          <h3><a href="javascript:" class="page-btn pink concell">取消</a></h3>
</div>
<div class="top-bar">
  <div class="top-logo"><a href="{:U('Index/index')}"><img src="__ROOT__/weixin_statics/images/home.png" alt="">返回首页</a></div>
  <div class="top-prev"><a href="javascript:history.go(-1)"><img src="__ROOT__/weixin_statics/images/arrow_left.png" alt="">返回上一页</a></div>
</div>
<div class="warp">
    <ul class="serch-list qz-list">
        <volist name="list.data" id="vo">
        <li>
            <i class="more"><a href="__ROOT__/weixin.php?s=/Hiring/gwshow/hiring_id/{$vo.hiring_id}"><img src="__ROOT__/weixin_statics/images/arrow_right.png" alt=""></a></i>
            <h2><a href="__ROOT__/weixin.php?s=/Hiring/gwshow/hiring_id/{$vo.hiring_id}">{$vo.hiring.cid|format_companyname}</a></h2>
            <h5>{$vo.hiring.title}</h5>
            <h4 class="date"><img src="__ROOT__/weixin_statics/images/date.png" width="" alt="">{$vo.send_time|date="Y-m-d H:i:s",###}</h4>
            <switch name="vo.is_check">
                    <case value="1"><h4 class="txt txt2"><img src="__ROOT__/weixin_statics/images/tag.png" alt="">简历已查看</h4></case>
                    <case value="2"><h4 class="txt txt3"><img src="__ROOT__/weixin_statics/images/tag.png" alt="">邀请您参与面试</h4></case>
                    <default/><h4 class="txt txt1"><img src="__ROOT__/weixin_statics/images/tag.png" alt="">简历未被查看</h4>
            </switch>
            <neq name="vo.is_go" value="0">
                <eq name="vo.is_go" value="1"><h4 class="txt txt3" style="padding:0px 10px;"><img src="__ROOT__/weixin_statics/images/tag.png" alt="">您决定参加面试！</h4>
                <else/>
                <h4 class="txt txt3" style="padding:0px 10px;"><img src="__ROOT__/weixin_statics/images/tag.png" alt="">您决定不去参加面试！</h4>
                </eq>
            </neq>
            <eq name="vo.is_check" value="2">
                <div class="ysinfo">
                面试时间：{$vo.mtime} {$vo.time}<br />
                面试地址：{$vo.address}<br />
                联系人：陈经理<br />
                联系电话：021-60520533
            </div>
            <div class="bottom"><i class="ico"><a href="javascript:" id="ms" value="{$vo.id}">去面试</a></i><i class="ico"><a href="javascript:" id="lyms">另约面试</a></i><i class="ico"><a href="javascript:" id="bms" value="{$vo.id}">不去面试</a></i></div>
            </eq>
        </li>
        </volist>
        
    </ul>
</div>
</body>
</html>
